package com.itheima.mapper;

import com.itheima.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface DeptMapper {
    List<Dept> findAll();

    void saveDept(Dept dept);

    Dept findDeptById(Integer id);

    void updateDeptById(Dept dept);

    void deleteById(Integer id);
}
